package org.springblade.modules.app.controller;

import org.springblade.core.boot.ctrl.BladeController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;

/**
 * 文章列表 控制器
 *
 * @author kingk
 */
@RestController
@RequestMapping("/message")
public class MessageController extends BladeController {

    @Autowired
    private RestTemplate restTemplate;


//    public void sendMessage() {
////        https://sdk2.028lk.com/sdk2/LinkWS.asmx/BatchSend2?CorpID=LC010903&Pwd=jnlgb0720!&Mobile=17615219987,15275142566&Content=【济南老干部服务推进心】你好! 你参加的,济南百花公园羽毛球活动已开始,请到指定集合地点集合.【济南老干部服务推进心】&Cell=&SendTime=
//        String url = "https://sdk2.028lk.com/sdk2/LinkWS.asmx/BatchSend2";
//        HttpHeaders headers = new HttpHeaders();
//        headers.setContentType(MediaType.APPLICATION_FORM_URLENCODED);
//        restTemplate.exchange();
//    }

}
